package com.android.kotlincoroutinemvvmdemo.callback
import java.lang.Exception

interface ICallback<T> {
    //接口方法后面的花括号表示方法默认实现
    fun onSuccess(result: T?) {}

    fun onError(exception: Exception) {}
}